package com.subfg.task.entity.quartz;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "任务开启, 关闭, 删除, 暂停 所需用到的实体类")
public class JobModel implements Serializable {
    @ApiModelProperty(value = "任务名称")
    private String jobName;
    @ApiModelProperty(value = "任务组")
    private String jobGroup;
    @ApiModelProperty(value = "触发器名称")
    private String triggerName;
    @ApiModelProperty(value = "触发器组")
    private String triggerGroup;
    @ApiModelProperty(value = "cron 表达式")
    private String cron;
    @ApiModelProperty(value = "类名")
    private String className;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "下次执行时间")
    private String nextTime;
    @ApiModelProperty(value = "下次执行时间")
    private String prevTime;
    @ApiModelProperty(value = "配置信息")
    private String config;
}
